$OpenBSD: patch-rocdigs_impl_opendcc_c,v 1.1 2017/05/07 23:57:16 espie Exp $

Index: rocdigs/impl/opendcc.c
--- rocdigs/impl/opendcc.c.orig
+++ rocdigs/impl/opendcc.c
@@ -140,7 +140,7 @@ static iONode _cmd( obj inst ,const iONode cmd ) {
     iONode clockcmd = NodeOp.inst( wBinCmd.name(), NULL, ELEMENT_NODE );
     char* byteStr = NULL;
     byte outBytes[6];
-    long l_time = wClock.gettime(cmd);
+    time_t l_time = wClock.gettime(cmd);
     struct tm* lTime = localtime( &l_time );
 
     int mins    = lTime->tm_min;
